package com.syeet.gulimall.member.feign;

import com.syeet.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author xhl
 * @date 2022/4/30
 */
@FeignClient("gulimall-coupon")
public interface CouponFeignService {

    @RequestMapping("/coupon/coupon/info/{id}")
    public R info(@PathVariable("id") Long id);

}
